var fs = require('fs');
var path = require('path');
module.exports = {
    url: 'http://localhost:3000',
    mysql: {
        host: 'localhost',
        user: 'root',
        password: 'root',
        database: 'node_curd',
        connectionLimit: 100,
        timezone: '+08:00',
        // dateStrings: true,
        charset: 'utf8_general_ci',
        bigNumberStrings: true,
        multipleStatements: true,
    },
    wechatPay: {
        appId: '',
        mchId: '',
        partnerKey: '',
        //pfx: fs.readFileSync(__dirname + '/cert/apiclient_cert.p12'),
        pfx: '',
    },
    redis: {
        port: 6379, // Redis port
        host: "127.0.0.1", // Redis host
        family: 4, // 4 (IPv4) or 6 (IPv6)
        password: "",
        db: 1,
    }
}